function viewContext(){
            
            var foy = 75,
                width =  window.innerWidth,
                height = window.innerHeight;
            var that = this
            this.scene = new THREE.Scene();
            this.camera = new THREE.PerspectiveCamera(foy, width/height, 1, 1500);
            
            // Camera initial position for solar system view
            this.camera.position.x = 6; 
            this.camera.position.y = -82; 
            this.camera.position.z = 63; 
            
            this.renderer = new THREE.WebGLRenderer({alpha: true});
            this.renderer.setSize(width, height);
            
            this.animateFunctions = [];

            this.controls = new THREE.OrbitControls(this.camera, this.renderer.domElement);
            this.controls.damping = 0.2;
//            this.controls.addEventListener('change', function(){console.log(that.camera.position.x,that.camera.position.y,that.camera.position.z)});
        };
        
        viewContext.prototype = {
                
                reset: function(){
                	this.animateFunctions = [];
                	for (elem in this.scene.children){
                    	this.scene.remove(this.scene.children[elem]);
                    }
                },

                onWindowResize: function() {
                	this.renderer.setSize(window.innerWidth, window.innerHeight)
                    this.camera.aspect = window.innerWidth / window.innerHeight;
                    this.camera.updateProjectionMatrix();
                },
        };
